package com.itmk.business.contact.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itmk.business.contact.entity.Contact;
import com.itmk.vo.req.ContactReqVO;
import com.itmk.vo.req.ProductReqVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ContactMapper extends BaseMapper<Contact> {

    List<Object> getContactsByProcedure(@Param("contactReqVO") ContactReqVO vo);

    @Select("select * from contact where openid=#{openId}")
    Contact getContactByOpenId(@Param("openId") String openid);

}
